Skip to main content

messages

List a users messages

GraphQL Schema

extend type query {
"""List a users messages"""
messages(userId: ID!): [Message!]!
}

Arguments

NameTypeDescription
userIdID!Unique ID of the user

Response Shape

This query returns [Message!]!

NameTypeDescription
idID!UUID of the message
titleString!Message title copy
subtitleStringMessage subtitle copy
linkStringUrl for message content
readBoolean!Indicates whether a message has been read, false by default
dateReceivedDate!Date message was created